package com.yupi.springbootinit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import model.entity.UserInterfaceInfo;

/**
 * @author 25169
 */
public interface UserInterfaceInfoService extends IService<UserInterfaceInfo> {
    void validUserInterfaceInfo(UserInterfaceInfo userInterfaceInfo, boolean b);

    /**
     * 调用接口次数统计
     * @param interfaceInfoId
     * @param userId
     * @return
     */
    boolean invoke(long interfaceInfoId, long userId);

}
